//
//  NCChatViewSystemCell.m
//  AGEmojiKeyboard
//
//  Created by LINAICAI on 2018/4/24.
//

#import "NCChatViewSystemCell.h"

@implementation NCChatViewSystemCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.systemTextLabel.font = [UIFont systemFontOfSize:14];
    self.systemTextLabel.textColor = [UIColor grayColor];
    self.systemTextLabel.numberOfLines = 0;
    self.systemTextLabel.linkAttributes = @{(NSString *)kCTUnderlineStyleAttributeName : [NSNumber numberWithBool:NO],
                                         (NSString*)kCTForegroundColorAttributeName : (id)[[UIColor colorWithRed:67/255.0 green:177/255.0 blue:255/255.0 alpha:1.0] CGColor]};
    
    self.systemTextView.layer.cornerRadius = 8.0;
    self.systemTextView.layer.masksToBounds = YES;

    
    
}
- (void)setMessage:(NCChatSystemMessage *)message{
    self.systemTextLabel.text = [NSString stringWithFormat:@" %@ ",message.text];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
